<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
</head>
<body>
	<h4 align="center">输入查询条件</h4>
	<form:form modelAttribute="searchGoods" action="${pageContext.request.contextPath }/goods/search" method="post"
	style="width: 15%; margin: auto">
		名称:<form:input path="name"/><br>
		最低价格:<form:input path="minPrice" size="14"/><br>
		最高价格:<form:input path="maxPrice" size="14"/><br>
		最小库存值:<form:input path="minQuantity" size="12"/><br>
		最大库存值:<form:input path="maxQuantity" size="12"/><br>
		状态:<form:input path="states"/><br>
		<input type="submit" value="查询">
	</form:form>
	<form action="${pageContext.request.contextPath }/goods/list" method="get" style="width: 15%; margin: auto">
		<input type="submit" value="返回">
	</form>
</body>
</html>